<!DOCTYPE html>
<html lang="zh-CN">

<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
	<title>Bootstrap 101 Template</title>

	<!-- Bootstrap -->
	<link href="./css/bootstrap.min.css" rel="stylesheet">

	<!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
	<!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
	<!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
	<![endif]-->
	<style>
		#task a{
			color: #3579b6;
		}
		#task .badge{
			float: none;
			margin-left: 10px;
		}
		#task .glyphicon-ok{
			padding-right: 5px;
		}
	</style>
</head>

<body>
	<nav class="navbar navbar-default">
		<div class="container">
			<!-- Brand and toggle get grouped for better mobile display -->
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
				 aria-expanded="false">
					<span class="sr-only">Toggle navigation</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="index.html">OA系统</a>
			</div>
	
			<!-- Collect the nav links, forms, and other content for toggling -->
			<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
				<ul class="nav navbar-nav">
					<li>
						<a href="index.html"><span class="glyphicon glyphicon-home"></span>&nbsp;&nbsp;仪表盘
							<span class="sr-only">(current)</span>
						</a>
					</li>
					<li class="active">
						<a href="user_list.html"><span class="glyphicon glyphicon-user"></span>&nbsp;&nbsp;用户管理</a>
					</li>
					<li>
						<a href="content_list.html"><span class="glyphicon glyphicon-list-alt"></span>&nbsp;&nbsp;内容管理</a>
					</li>
					<li>
						<a href="tag_manager.html"><span class="glyphicon glyphicon-tags"></span>&nbsp;&nbsp;标签管理</a>
					</li>
					<li>
						<a href="emails.html">
							<span class="glyphicon glyphicon-envelope"></span>&nbsp;&nbsp;我的邮箱
							<span class="badge" style="color:fff; background-color:red;">3</span>
						</a>
					</li>
					
				</ul>
				<ul class="nav navbar-nav navbar-right">
					<li><img src="./images/touxiang.jpg" alt="..." width="40" style="margin: 5px 0 0 10px" class="img-circle"></li>
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">管理员
							<span class="caret"></span>
						</a>
						<ul class="dropdown-menu">
							<li>
								<a href="#"><span class="glyphicon glyphicon-road"></span>&nbsp;&nbsp;前台首页</a>
							</li>
							<li>
								<a href="#"><span class="glyphicon glyphicon-user"></span>&nbsp;&nbsp;个人主页</a>
							</li>
							<li>
								<a href="#"><span class="glyphicon glyphicon-cog"></span>&nbsp;&nbsp;个人设置</a>
							</li>
							<li>
								<a href="#"><span class="glyphicon glyphicon-credit-card"></span>&nbsp;&nbsp;账户中心</a>
							</li>
							<li>
								<a href="#"><span class="glyphicon glyphicon-heart"></span>&nbsp;&nbsp;我的收藏</a>
							</li>
							<li>
								<a href="#"><span class="glyphicon glyphicon-off"></span>&nbsp;&nbsp;退出</a>
							</li>
						</ul>
					</li>
				</ul>
			</div>
			<!-- /.navbar-collapse -->
		</div>
		<!-- /.container -->
	</nav>
	<div class="container">
		
		<div class="row">

			<div class="col-md-12">
				<div class="page-header">
					<h3>用户管理
					</h3>
				</div>
				<ul class="nav nav-tabs" role="tablist">
					<li class="active">
						<a href="#home" role="tab" data-toggle="tab">用户列表</a>
					</li>
					<li>
						<a href="#profile" role="tab" data-toggle="tab">用户搜索</a>
					</li>
					<li>
						<a href="#messages" role="tab" data-toggle="modal" data-target="#myModal">添加用户</a>
					</li>
				</ul>
				<div class="tab-content">
					<div class="tab-pane active" id="home">
						<table class="table" style="margin-top:10px;">
							<tr>
								<th>ID</th>
								<th>用户名</th>
								<th>邮箱</th>
								<th>操作</th>
							</tr>
							<tr>
								<td>1</td>
								<td>user1</td>
								<td>123@qq.com</td>
								<td>
									<!-- Single button -->
									<div class="btn-group">
										<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
											操作
											<span class="caret"></span>
										</button>
										<ul class="dropdown-menu">
											<li>
												<a href="#">编辑</a>
											</li>
											<li>
												<a href="#">删除</a>
											</li>
										</ul>
									</div>
								</td>
							</tr>
							<tr>
								<td>1</td>
								<td>user1</td>
								<td>123@qq.com</td>
								<td>
									<!-- Single button -->
									<div class="btn-group">
										<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
											操作
											<span class="caret"></span>
										</button>
										<ul class="dropdown-menu">
											<li>
												<a href="#">编辑</a>
											</li>
											<li>
												<a href="#">删除</a>
											</li>
										</ul>
									</div>
								</td>
							</tr>
							<tr>
								<td>1</td>
								<td>user1</td>
								<td>123@qq.com</td>
								<td>
									<!-- Single button -->
									<div class="btn-group">
										<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
											操作
											<span class="caret"></span>
										</button>
										<ul class="dropdown-menu">
											<li>
												<a href="#">编辑</a>
											</li>
											<li>
												<a href="#">删除</a>
											</li>
										</ul>
									</div>
								</td>
							</tr>
							<tr>
								<td>1</td>
								<td>user1</td>
								<td>123@qq.com</td>
								<td>
									<!-- Single button -->
									<div class="btn-group">
										<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
											操作
											<span class="caret"></span>
										</button>
										<ul class="dropdown-menu">
											<li>
												<a href="#">编辑</a>
											</li>
											<li>
												<a href="#">删除</a>
											</li>
										</ul>
									</div>
								</td>
							</tr>
							<tr>
								<td>1</td>
								<td>user1</td>
								<td>123@qq.com</td>
								<td>
									<!-- Single button -->
									<div class="btn-group">
										<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
											操作
											<span class="caret"></span>
										</button>
										<ul class="dropdown-menu">
											<li>
												<a href="#">编辑</a>
											</li>
											<li>
												<a href="#">删除</a>
											</li>
										</ul>
									</div>
								</td>
							</tr>
							<tr>
								<td>1</td>
								<td>user1</td>
								<td>123@qq.com</td>
								<td>
									<!-- Single button -->
									<div class="btn-group">
										<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
											操作
											<span class="caret"></span>
										</button>
										<ul class="dropdown-menu">
											<li>
												<a href="#">编辑</a>
											</li>
											<li>
												<a href="#">删除</a>
											</li>
										</ul>
									</div>
								</td>
							</tr>
						</table>

						<nav class="text-right">
							<ul class="pagination">
								<li>
									<a href="#" aria-label="Previous">
										<span aria-hidden="true">&laquo;</span>
									</a>
								</li>
								<li class="active">
									<a href="#">1</a>
								</li>
								<li>
									<a href="#">2</a>
								</li>
								<li>
									<a href="#">3</a>
								</li>
								<li>
									<a href="#">4</a>
								</li>
								<li>
									<a href="#">5</a>
								</li>
								<li>
									<a href="#" aria-label="Next">
										<span aria-hidden="true">&raquo;</span>
									</a>
								</li>
							</ul>
						</nav>
					</div>
					<div class="tab-pane" id="profile">
						<div class="alert alert-info" role="alert" style="margin-top:10px;">
							<strong>技巧提示：</strong>支持模糊搜索和匹配搜索，匹配搜索请用*代替！
						</div>
						<form role="form">
							<div class="form-group">
								<label for="exampleInputEmail1">用户名</label>
								<input type="text" class="form-control" id="exampleInputEmail1" placeholder="请输入用户名">
							</div>
							<div class="form-group">
								<label for="exampleInputPassword1">UID</label>
								<input type="text" class="form-control" id="exampleInputPassword1" placeholder="请输入用户UID">
							</div>
							<div class="form-group">
								<label>请选择用户组</label>
								<select class="form-control">
									<option value="1">1111</option>
								</select>
							</div>
							<button type="submit" class="btn btn-default">提交</button>
						</form>
					</div>
					<!-- Modal -->
					<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
						<div class="modal-dialog">
							<div class="modal-content">
								<div class="modal-header">
									<button type="button" class="close" data-dismiss="modal">
										<span aria-hidden="true">&times;</span>
										<span class="sr-only">Close</span>
									</button>
									<h4 class="modal-title" id="myModalLabel">添加用户</h4>
								</div>
								<form role="form">
									<div class="modal-body">
										<div class="form-group">
											<label for="exampleInputEmail1">用户名</label>
											<input type="text" class="form-control" id="exampleInputEmail1" placeholder="请输入用户名">
										</div>
										<div class="form-group">
											<label for="exampleInputPassword1">密码</label>
											<input type="password" class="form-control" id="exampleInputPassword1" placeholder="请输入用户密码">
										</div>
										<div class="form-group">
											<label for="exampleInputPassword1">确认密码</label>
											<input type="password" class="form-control" id="exampleInputPassword1" placeholder="请确认输入用户密码">
										</div>
										<div class="form-group">
											<label for="exampleInputEmail1">邮箱</label>
											<input type="email" class="form-control" id="exampleInputEmail1" placeholder="请输入用户邮箱">
										</div>
										<div class="form-group">
											<label for="exampleInputFile">所属用户组</label>
											<select class="form-control">
												<option>限制会员</option>
												<option>普通会员</option>
												<option>高级会员</option>
											</select>
										</div>
									</div>
									<div class="modal-footer">
										<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
										<button type="button" class="btn btn-primary">提交</button>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>

				
			</div>
		</div>
	</div>













	<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
	<script src="./js/jquery-3.1.0.min.js"></script>
	<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
	<script src="./js/bootstrap.min.js"></script>

	<script src="./js/Chart.js"></script>
	<script src="./js/data.js"></script>

	<script>
		$(function(){

			var cvs = document.getElementById('canvas');
			var ctx = cvs.getContext('2d');
			var chart = new Chart(ctx);

			chart.Line(lineChartData, {"responsive": true});
		})
	</script>

</body>

</html>